<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>课程管理系统登录页面</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/style.css}" />
    <script type="text/javascript" th:src="@{/js/jquery-3.1.1.min.js}"></script>
</head>
<body>
<div>
    <div id="wrapper" style="text-align:center">
        <img id="login"   width="100" height="20"   th:src="@{/pics/logo.png}" /><div id="f_title">课程管理系统用户登录</div><br>
        <form th:action="@{/security/login}" method="post" th:object="${user}">
            <div class="f_row">
                <span>用户姓名:</span>
                <input type="text" class="form-control" name="userName" placeholder="请输入姓名">
            </div>
            <div class="f_row">
                <span>登录密码:</span>
                <input type="text" class="form-control" name="userPwd" placeholder="请输入密码">
            </div>
            <br>
            <div class="f_row">
                <input type="submit" value=" 登 录 "></input>
                <a th:href="@{/security/register}" class="zcxy" target="_blank">注册</a>
            </div>
        </form>
    </div>
</div>
<div id="footer">
    <div th:include="footer :: copy"></div><div th:include="footer :: time"></div>
</div>
</body>
</html>